/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2016 All Rights Reserved.
 */
package com.alipay.study.web.login;

import io.swagger.annotations.ApiOperation;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.alipay.study.common.util.log.LogUtil;

/**
 * 
 * @author wb-qlj205528
 * @version $Id: LogOutController.java, v 0.1 2016年11月10日 上午11:32:08 wb-qlj205528 Exp $
 */
@RestController
@RequestMapping(value = "/logout", method = RequestMethod.POST)
public class LogOutController {
    /**
     * 
     */
    private static final Logger LOGGER = Logger.getLogger(LogOutController.class);

    /**
     * 
     * 
     * @return
     */
    @RequestMapping("/logout")
    @ApiOperation("退出系统的url")
    public String logOut() {

        LogUtil.info(LOGGER, "------logout-----");

        return "logout";
    }

    /**
     * 
     * 
     * @return
     */
    @RequestMapping("/logouttest")
    @ApiOperation("退出系统的测试url")
    public String logOutTest() {

        LogUtil.info(LOGGER, "------logouttest-----");

        return "logouttest";
    }
}
